﻿using System;
using System.Collections.Generic;
using Eb;

namespace Es
{
    public class EtNode : EntityDef
    {
        //---------------------------------------------------------------------
        public override void declareAllComponent(byte node_type)
        {
            var settings = EsEngine.Instance.Settings;

            declareComponent<DefNode>();
            if (settings.EnableCoSupersocket) declareComponent<DefSuperSocket>();
        }
    }
}
